Integrand size = 23, antiderivative size = 16 \[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=\frac {\operatorname {PolyLog}\left (2,1-\frac {x^n}{d}\right )}{n} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2374, 2352} \[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=\frac {\operatorname {PolyLog}\left (2,1-\frac {x^n}{d}\right )}{n} \]
[In]
[Out]
Rule 2352
Rule 2374
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\log \left (\frac {x}{d}\right )}{d-x} \, dx,x,x^n\right )}{n} \\ & = \frac {\text {Li}_2\left (1-\frac {x^n}{d}\right )}{n} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.06 \[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=\frac {\operatorname {PolyLog}\left (2,\frac {d-x^n}{d}\right )}{n} \]
[In]
[Out]
Time = 0.48 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.81
method | result | size |
default | \(\frac {\operatorname {dilog}\left (\frac {x^{n}}{d}\right )}{n}\) | \(13\) |
risch | \(-\frac {\ln \left (x^{n}\right ) \ln \left (-\frac {-d +x^{n}}{d}\right )}{n}-\frac {\operatorname {dilog}\left (-\frac {-d +x^{n}}{d}\right )}{n}+\frac {\left (-\frac {i \pi \,\operatorname {csgn}\left (\frac {i}{d}\right ) \operatorname {csgn}\left (\frac {i x^{n}}{d}\right )^{2}}{2}+\frac {i \pi \,\operatorname {csgn}\left (\frac {i}{d}\right ) \operatorname {csgn}\left (\frac {i x^{n}}{d}\right ) \operatorname {csgn}\left (i x^{n}\right )}{2}+\frac {i \pi \operatorname {csgn}\left (\frac {i x^{n}}{d}\right )^{3}}{2}-\frac {i \pi \operatorname {csgn}\left (\frac {i x^{n}}{d}\right )^{2} \operatorname {csgn}\left (i x^{n}\right )}{2}+\ln \left (d \right )\right ) \ln \left (-d +x^{n}\right )}{n}\) | \(147\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 50 vs. \(2 (15) = 30\).
Time = 0.30 (sec) , antiderivative size = 50, normalized size of antiderivative = 3.12 \[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=-\frac {n \log \left (x\right ) \log \left (\frac {d - x^{n}}{d}\right ) + \log \left (-d + x^{n}\right ) \log \left (\frac {1}{d}\right ) + {\rm Li}_2\left (-\frac {d - x^{n}}{d} + 1\right )}{n} \]
[In]
[Out]
Exception generated. \[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 45 vs. \(2 (15) = 30\).
Time = 0.30 (sec) , antiderivative size = 45, normalized size of antiderivative = 2.81 \[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=\frac {\log \left (d\right ) \log \left (-d + x^{n}\right )}{n} - \frac {\log \left (x^{n}\right ) \log \left (-\frac {x^{n}}{d} + 1\right ) + {\rm Li}_2\left (\frac {x^{n}}{d}\right )}{n} \]
[In]
[Out]
\[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=\int { \frac {x^{n - 1} \log \left (\frac {x^{n}}{d}\right )}{d - x^{n}} \,d x } \]
[In]
[Out]
Time = 0.40 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.75 \[ \int \frac {x^{-1+n} \log \left (\frac {x^n}{d}\right )}{d-x^n} \, dx=\frac {{\mathrm {Li}}_{\mathrm {2}}\left (\frac {x^n}{d}\right )}{n} \]
[In]
[Out]